package cn.iocoder.yudao.module.tms.controller.admin.customerfollowlog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 客户跟进日志新增/修改 Request VO")
@Data
public class CustomerFollowLogSaveReqVO {

    @Schema(description = "主键", example = "1024")
    private Long id;

    @Schema(description = "跟进记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
    @NotNull(message = "跟进记录ID不能为空")
    private Long followUpId;

    @Schema(description = "公司ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3072")
    @NotNull(message = "公司ID不能为空")
    private Long companyId;

    @Schema(description = "跟进类型", example = "phone")
    private String followType;

    @Schema(description = "跟进内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "跟进内容不能为空")
    private String followContent;

    @Schema(description = "跟进结果")
    private String followResult;

    @Schema(description = "下一步计划")
    private String nextPlan;

    @Schema(description = "附件（JSON数组）")
    private String attachments;

}
